package com.yanqu.road.entity.activity.mammonhall;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.player.UserBaseInfo;

import java.util.ArrayList;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_c_activity_mammon_hall_source")
public class MammonHallSourceDataInfo {

    @FieldTypeAnnotation(select = true, update = true, desc = "玩家ID")
    private long userId;

    @FieldTypeAnnotation(desc = "区服ID")
    private long serverId;

    @FieldTypeAnnotation(update = true, desc = "数据类型")
    private int type;

    @FieldTypeAnnotation(desc = "活动ID")
    private int activityId;

    @FieldTypeAnnotation(desc = "数据日期")
    private int dataTime;

    @FieldTypeAnnotation(update = true, desc = "排名", orderASC = true)
    private int rank;

    @FieldTypeAnnotation(desc = "主值")
    private String value;

    @FieldTypeAnnotation(desc = "玩家基本信息")
    private UserBaseInfo userBaseInfo;

    @FieldTypeAnnotation(desc = "副值")
    private List<Integer> otherInt = new ArrayList<>();

    @FieldTypeAnnotation(desc = "副值2")
    private List<String> otherString = new ArrayList<>();

    @FieldTypeAnnotation(desc = "统计值")
    private List<MammonHallSourceKV> kvList = new ArrayList<>();


    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getDataTime() {
        return dataTime;
    }

    public void setDataTime(int dataTime) {
        this.dataTime = dataTime;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public UserBaseInfo getUserBaseInfo() {
        return userBaseInfo;
    }

    public void setUserBaseInfo(UserBaseInfo userBaseInfo) {
        this.userBaseInfo = userBaseInfo;
    }

    public List<Integer> getOtherInt() {
        return otherInt;
    }

    public void setOtherInt(List<Integer> otherInt) {
        this.otherInt = otherInt;
    }

    public List<String> getOtherString() {
        return otherString;
    }

    public void setOtherString(List<String> otherString) {
        this.otherString = otherString;
    }

    public List<MammonHallSourceKV> getKvList() {
        return kvList;
    }

    public void setKvList(List<MammonHallSourceKV> kvList) {
        this.kvList = kvList;
    }
}
